package Version3;

import java.util.Scanner;
public class Main
{
     public static void main(String[] args)
    {
        //print out start the game
        Scanner sc = new Scanner(System.in);
        System.out.print("Are you ready to start the game? [Y/N] : ");
        String choice = sc.next();
        choice = choice.toUpperCase();
        
        if (choice.equals("Y"))
        { 
            System.out.print("Choose one hunter. Melee[E], Mage[A] or Ranger[R]: ");
            String choiceForH = sc.next();
            choiceForH = choiceForH.toUpperCase();
            String userChoice = "";
            if (choiceForH.equals("E"))
                userChoice = "Melee";
            else if (choiceForH.equals("A"))
                userChoice = "Mage";
            else if (choiceForH.equals("R"))
                userChoice = "Ranger";
            new Manager(userChoice);
        }       
    }
}
